home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
- Begin VB.Form frmProgressBarDemo
- BorderStyle = 3 'Fixed Dialog
- Caption = "ProgBar Control V1.2.1 Demo"
- ClientHeight = 7785
- ClientLeft = 45
- ClientTop = 330
- ClientWidth = 8760
- ClipControls = 0 'False
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 7785
- ScaleWidth = 8760
- ShowInTaskbar = 0 'False
- StartUpPosition = 2 'CenterScreen
- Begin NEProgBar.ProgBar ProgBar12
- Align = 4 'Align Right
- Height = 6795
- Left = 8265
- Top = 495
- Width = 495
- _ExtentX = 873
- _ExtentY = 11986
- FillDirection = 1
- Message = "Hello"
- ShowMessage = -1 'True
- ShowPercent = -1 'True
- VerticalText = -1 'True
- End
- Begin NEProgBar.ProgBar ProgBar11
- Align = 2 'Align Bottom
- Height = 495
- Left = 0
- Top = 7290
- Width = 8760
- _ExtentX = 15452
- _ExtentY = 873
- FillDirection = 2
- ShowMessage = -1 'True
- ShowPercent = -1 'True
- End
- Begin NEProgBar.ProgBar ProgBar10
- Align = 1 'Align Top
- Height = 495
- Left = 0
- Top = 0
- Width = 8760
- _ExtentX = 15452
- _ExtentY = 873
- Message = "Hello"
- ShowMessage = -1 'True
- ShowPercent = -1 'True
- End
- Begin NEProgBar.ProgBar ProgBar9
- Align = 3 'Align Left
- Height = 6795
- Left = 0
- Top = 495
- Width = 495
- _ExtentX = 873
- _ExtentY = 11986
- FillDirection = 0
- Message = "Hello"
- ShowMessage = -1 'True
- ShowPercent = -1 'True
- VerticalText = -1 'True
- End
- Begin VB.Frame Frame3
- Caption = "Down"
- Height = 4335
- Left = 6840
- TabIndex = 27
- Top = 480
- Width = 1335
- Begin NEProgBar.ProgBar ProgBar3
- Height = 3975
- Left = 120
- Top = 240
- Width = 495
- _ExtentX = 873
- _ExtentY = 7011
- FillDirection = 1
- Message = "Hello"
- ShowMessage = -1 'True
- ShowPercent = -1 'True
- VerticalText = -1 'True
- End
- Begin NEProgBar.ProgBar ProgBar4
- Height = 3975
- Left = 720
- Top = 240
- Width = 495
- _ExtentX = 873
- _ExtentY = 7011
- BorderStyle = 0
- FillDirection = 1
- Message = "Hello"
- ShowMessage = -1 'True
- ShowPercent = -1 'True
- VerticalText = -1 'True
- End
- End
- Begin VB.Frame Frame2
- Caption = "Up"
- Height = 4335
- Left = 5400
- TabIndex = 26
- Top = 480
- Width = 1335
- Begin NEProgBar.ProgBar ProgBar1
- Height = 3975
- Left = 120
- Top = 240
- Width = 495
- _ExtentX = 873
- _ExtentY = 7011
- FillDirection = 0
- Message = "Hello"
- ShowMessage = -1 'True
- ShowPercent = -1 'True
- VerticalText = -1 'True
- End
- Begin NEProgBar.ProgBar ProgBar2
- Height = 3975
- Left = 720
- Top = 240
- Width = 495
- _ExtentX = 873
- _ExtentY = 7011
- BorderStyle = 0
- FillDirection = 0
- Message = "Hello"
- ShowMessage = -1 'True
- ShowPercent = -1 'True
- VerticalText = -1 'True
- End
- End
- Begin VB.Frame Frame1
- Caption = "Options"
- Height = 4335
- Left = 600
- TabIndex = 16
- Top = 480
- Width = 4695
- Begin VB.CheckBox chkWaitForSound
- Caption = "Wait for sound"
- Enabled = 0 'False
- Height = 255
- Left = 2040
- TabIndex = 9
- Top = 2040
- Width = 1695
- End
- Begin VB.CommandButton cmdSoundToPlay
- Caption = "Sound"
- Enabled = 0 'False
- Height = 255
- Left = 3840
- TabIndex = 10
- Top = 2280
- Width = 735
- End
- Begin VB.TextBox txtSoundToPlay
- Enabled = 0 'False
- Height = 285
- Left = 240
- TabIndex = 37
- TabStop = 0 'False
- Top = 2280
- Width = 3495
- End
- Begin VB.CheckBox chkPlaySound
- Caption = "Play sound @ 100%"
- Height = 255
- Left = 240
- TabIndex = 8
- Top = 2040
- Width = 1935
- End
- Begin VB.TextBox txtColour4
- BackColor = &H00FF0000&
- Height = 285
- Left = 3480
- Locked = -1 'True
- TabIndex = 36
- TabStop = 0 'False
- Top = 3840
- Width = 1095
- End
- Begin VB.TextBox txtColour3
- BackColor = &H00000000&
- Height = 285
- Left = 3480
- Locked = -1 'True
- TabIndex = 35
- TabStop = 0 'False
- Top = 3480
- Width = 1095
- End
- Begin VB.TextBox txtColour2
- BackColor = &H000000FF&
- Height = 285
- Left = 3480
- Locked = -1 'True
- TabIndex = 34
- TabStop = 0 'False
- Top = 3120
- Width = 1095
- End
- Begin VB.TextBox txtColour1
- BackColor = &H00FFFFFF&
- Height = 285
- Left = 3480
- Locked = -1 'True
- TabIndex = 33
- TabStop = 0 'False
- Top = 2760
- Width = 1095
- End
- Begin VB.CheckBox chkGradient
- Caption = "Gradient"
- Height = 255
- Left = 2040
- TabIndex = 7
- Top = 1800
- Width = 1095
- End
- Begin VB.CheckBox chkSolid
- Caption = "Solid"
- Height = 255
- Left = 240
- TabIndex = 6
- Top = 1800
- Value = 1 'Checked
- Width = 735
- End
- Begin VB.CommandButton cmdRunBars
- Caption = "Run Bars"
- Height = 615
- Left = 3480
- TabIndex = 15
- Top = 1320
- Width = 975
- End
- Begin VB.TextBox txtBarEndColour
- Height = 285
- Left = 1440
- Locked = -1 'True
- TabIndex = 31
- TabStop = 0 'False
- Text = "&H00000000&"
- Top = 3480
- Width = 1215
- End
- Begin VB.CommandButton Command4
- Caption = "Colour"
- Height = 255
- Left = 2760
- TabIndex = 13
- Top = 3480
- Width = 615
- End
- Begin VB.CommandButton Command3
- Caption = "Colour"
- Height = 255
- Left = 2760
- TabIndex = 14
- Top = 3840
- Width = 615
- End
- Begin VB.CommandButton Command2
- Caption = "Colour"
- Height = 255
- Left = 2760
- TabIndex = 12
- Top = 3120
- Width = 615
- End
- Begin VB.CommandButton Command1
- Caption = "Colour"
- Height = 255
- Left = 2760
- TabIndex = 11
- Top = 2760
- Width = 615
- End
- Begin MSComDlg.CommonDialog CommonDialog1
- Left = 2520
- Top = 480
- _ExtentX = 847
- _ExtentY = 847
- _Version = 393216
- End
- Begin VB.TextBox txtFontColour
- Height = 285
- Left = 1440
- Locked = -1 'True
- TabIndex = 25
- TabStop = 0 'False
- Text = "&H00FF0000&"
- Top = 3840
- Width = 1215
- End
- Begin VB.TextBox txtBackColour
- Height = 285
- Left = 1440
- Locked = -1 'True
- TabIndex = 23
- TabStop = 0 'False
- Text = "&H00FFFFFF&"
- Top = 2760
- Width = 1215
- End
- Begin VB.CheckBox chkShowValue
- Caption = "Show value"
- Height = 255
- Left = 2040
- TabIndex = 5
- Top = 1560
- Width = 1335
- End
- Begin VB.TextBox txtBarStartColour
- Height = 285
- Left = 1440
- Locked = -1 'True
- TabIndex = 20
- TabStop = 0 'False
- Text = "&H000000FF&"
- Top = 3120
- Width = 1215
- End
- Begin VB.CheckBox chkShowPercentage
- Caption = "Show percentage"
- Height = 255
- Left = 240
- TabIndex = 4
- Top = 1560
- Value = 1 'Checked
- Width = 1695
- End
- Begin VB.CheckBox chkShowMessage
- Caption = "Show message"
- Height = 255
- Left = 240
- TabIndex = 3
- Top = 1320
- Value = 1 'Checked
- Width = 1455
- End
- Begin VB.TextBox txtMessage
- Height = 285
- Left = 1080
- TabIndex = 2
- Text = "Hello"
- Top = 960
- Width = 3375
- End
- Begin VB.TextBox txtUpperLimit
- Height = 285
- Left = 1080
- TabIndex = 1
- Text = "100"
- Top = 600
- Width = 1335
- End
- Begin VB.TextBox txtLowerLimit
- Height = 285
- Left = 1080
- TabIndex = 0
- Text = "0"
- Top = 240
- Width = 1335
- End
- Begin VB.Label Label8
- Alignment = 1 'Right Justify
- Caption = "Bar End Colour:"
- Height = 255
- Left = 120
- TabIndex = 32
- Top = 3480
- Width = 1215
- End
- Begin VB.Label Label7
- Alignment = 1 'Right Justify
- Caption = "(C) NE 1998"
- Height = 255
- Left = 3360
- TabIndex = 30
- Top = 360
- Width = 1095
- End
- Begin VB.Label Label6
- Alignment = 1 'Right Justify
- Caption = "Font Colour:"
- Height = 255
- Left = 360
- TabIndex = 24
- Top = 3840
- Width = 975
- End
- Begin VB.Label Label5
- Alignment = 1 'Right Justify
- Caption = "Back Colour:"
- Height = 375
- Left = 360
- TabIndex = 22
- Top = 2760
- Width = 975
- End
- Begin VB.Label Label4
- Alignment = 1 'Right Justify
- Caption = "Bar Start Colour:"
- Height = 255
- Left = 120
- TabIndex = 21
- Top = 3120
- Width = 1215
- End
- Begin VB.Label Label3
- Alignment = 1 'Right Justify
- Caption = "Message:"
- Height = 255
- Left = 120
- TabIndex = 19
- Top = 960
- Width = 855
- End
- Begin VB.Label Label2
- Alignment = 1 'Right Justify
- Caption = "Upper limit:"
- Height = 255
- Left = 120
- TabIndex = 18
- Top = 600
- Width = 855
- End
- Begin VB.Label Label1
- Alignment = 1 'Right Justify
- Caption = "Lower limit:"
- Height = 255
- Left = 120
- TabIndex = 17
- Top = 240
- Width = 855
- End
- End
- Begin VB.Frame Frame4
- Caption = "Left"
- Height = 1215
- Left = 600
- TabIndex = 28
- Top = 4800
- Width = 7575
- Begin NEProgBar.ProgBar ProgBar5
- Height = 375
- Left = 120
- Top = 240
- Width = 7335
- _ExtentX = 12938
- _ExtentY = 661
- FillDirection = 2
- Message = "Hello"
- ShowMessage = -1 'True
- ShowPercent = -1 'True
- End
- Begin NEProgBar.ProgBar ProgBar6
- Height = 375
- Left = 120
- Top = 720
- Width = 7335
- _ExtentX = 12938
- _ExtentY = 661
- BorderStyle = 0
- FillDirection = 2
- Message = "Hello"
- ShowMessage = -1 'True
- ShowPercent = -1 'True
- End
- End
- Begin VB.Frame Frame5
- Caption = "Right"
- Height = 1215
- Left = 600
- TabIndex = 29
- Top = 6000
- Width = 7575
- Begin NEProgBar.ProgBar ProgBar7
- Height = 375
- Left = 120
- Top = 240
- Width = 7335
- _ExtentX = 12938
- _ExtentY = 661
- Message = "Hello"
- ShowMessage = -1 'True
- ShowPercent = -1 'True
- End
- Begin NEProgBar.ProgBar ProgBar8
- Height = 375
- Left = 120
- Top = 720
- Width = 7335
- _ExtentX = 12938
- _ExtentY = 661
- BorderStyle = 0
- Message = "Hello"
- ShowMessage = -1 'True
- ShowPercent = -1 'True
- End
- End
- Attribute VB_Name = "frmProgressBarDemo"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Explicit
- Private Sub chkGradient_Click()
- If chkGradient.Value = Checked Then
- chkSolid.Value = Unchecked
- ProgBar1.BarStyle = pbGradient
- ProgBar2.BarStyle = pbGradient
- ProgBar3.BarStyle = pbGradient
- ProgBar4.BarStyle = pbGradient
- ProgBar5.BarStyle = pbGradient
- ProgBar6.BarStyle = pbGradient
- ProgBar7.BarStyle = pbGradient
- ProgBar8.BarStyle = pbGradient
- ProgBar9.BarStyle = pbGradient
- ProgBar10.BarStyle = pbGradient
- ProgBar11.BarStyle = pbGradient
- ProgBar12.BarStyle = pbGradient
- Else
- chkSolid.Value = Checked
- chkSolid_Click
- End If
- End Sub
- Private Sub chkPlaySound_Click()
- If chkPlaySound.Value = Checked Then
- txtSoundToPlay.Enabled = True
- cmdSoundToPlay.Enabled = True
- chkWaitForSound.Enabled = True
- ProgBar12.PlaySound = True
- Else
- txtSoundToPlay.Enabled = False
- cmdSoundToPlay.Enabled = False
- chkWaitForSound.Enabled = False
- ProgBar12.PlaySound = False
- End If
- End Sub
- Private Sub chkShowMessage_Click()
- 'Turn the message on or off.
- ProgBar1.ShowMessage = chkShowMessage.Value
- ProgBar2.ShowMessage = chkShowMessage.Value
- ProgBar3.ShowMessage = chkShowMessage.Value
- ProgBar4.ShowMessage = chkShowMessage.Value
- ProgBar5.ShowMessage = chkShowMessage.Value
- ProgBar6.ShowMessage = chkShowMessage.Value
- ProgBar7.ShowMessage = chkShowMessage.Value
- ProgBar8.ShowMessage = chkShowMessage.Value
- ProgBar9.ShowMessage = chkShowMessage.Value
- ProgBar10.ShowMessage = chkShowMessage.Value
- ProgBar11.ShowMessage = chkShowMessage.Value
- ProgBar12.ShowMessage = chkShowMessage.Value
- End Sub
- Private Sub chkShowPercentage_Click()
- 'Make sure only the percentage OR the value is chosen.
- If chkShowPercentage.Value = Checked Then
- chkShowValue.Value = Unchecked
- End If
- 'Set the percentage on or off.
- ProgBar1.ShowPercent = chkShowPercentage.Value
- ProgBar2.ShowPercent = chkShowPercentage.Value
- ProgBar3.ShowPercent = chkShowPercentage.Value
- ProgBar4.ShowPercent = chkShowPercentage.Value
- ProgBar5.ShowPercent = chkShowPercentage.Value
- ProgBar6.ShowPercent = chkShowPercentage.Value
- ProgBar7.ShowPercent = chkShowPercentage.Value
- ProgBar8.ShowPercent = chkShowPercentage.Value
- ProgBar9.ShowPercent = chkShowPercentage.Value
- ProgBar10.ShowPercent = chkShowPercentage.Value
- ProgBar11.ShowPercent = chkShowPercentage.Value
- ProgBar12.ShowPercent = chkShowPercentage.Value
- End Sub
- Private Sub chkShowValue_Click()
- 'Make sure only the percentage OR the value is chosen.
- If chkShowValue.Value = Checked Then
- chkShowPercentage.Value = Unchecked
- End If
- 'Set the value on or off.
- ProgBar1.ShowValue = chkShowValue.Value
- ProgBar2.ShowValue = chkShowValue.Value
- ProgBar3.ShowValue = chkShowValue.Value
- ProgBar4.ShowValue = chkShowValue.Value
- ProgBar5.ShowValue = chkShowValue.Value
- ProgBar6.ShowValue = chkShowValue.Value
- ProgBar7.ShowValue = chkShowValue.Value
- ProgBar8.ShowValue = chkShowValue.Value
- ProgBar9.ShowValue = chkShowValue.Value
- ProgBar10.ShowValue = chkShowValue.Value
- ProgBar11.ShowValue = chkShowValue.Value
- ProgBar12.ShowValue = chkShowValue.Value
- End Sub
- Private Sub chkSolid_Click()
- If chkSolid.Value = Checked Then
- chkGradient.Value = Unchecked
- ProgBar1.BarStyle = pbSolid
- ProgBar2.BarStyle = pbSolid
- ProgBar3.BarStyle = pbSolid
- ProgBar4.BarStyle = pbSolid
- ProgBar5.BarStyle = pbSolid
- ProgBar6.BarStyle = pbSolid
- ProgBar7.BarStyle = pbSolid
- ProgBar8.BarStyle = pbSolid
- ProgBar9.BarStyle = pbSolid
- ProgBar10.BarStyle = pbSolid
- ProgBar11.BarStyle = pbSolid
- ProgBar12.BarStyle = pbSolid
- Else
- chkGradient.Value = Checked
- chkGradient_Click
- End If
- End Sub
- Private Sub chkWaitForSound_Click()
- If chkWaitForSound.Value = Checked Then
- ProgBar12.WaitForSound = True
- Else
- ProgBar12.WaitForSound = False
- End If
- End Sub
- Private Sub cmdRunBars_Click()
- 'Declare the looping variables.
- Dim i As Integer
- 'Set the mouse pointer busy.
- Screen.MousePointer = 11
-
- 'Loop through the limits.
- For i = ProgBar1.Min To ProgBar1.Max
- ProgBar1.Value = i
- ProgBar2.Value = i
- ProgBar3.Value = i
- ProgBar4.Value = i
- ProgBar5.Value = i
- ProgBar6.Value = i
- ProgBar7.Value = i
- ProgBar8.Value = i
- ProgBar9.Value = i
- ProgBar10.Value = i
- ProgBar11.Value = i
- ProgBar12.Value = i
- Next i
- 'And back again.
- For i = ProgBar1.Max - 1 To ProgBar1.Min Step -1
- ProgBar1.Value = i
- ProgBar2.Value = i
- ProgBar3.Value = i
- ProgBar4.Value = i
- ProgBar5.Value = i
- ProgBar6.Value = i
- ProgBar7.Value = i
- ProgBar8.Value = i
- ProgBar9.Value = i
- ProgBar10.Value = i
- ProgBar11.Value = i
- ProgBar12.Value = i
- Next i
- 'Set the mouse pointer normal.
- Screen.MousePointer = 0
- End Sub
- Private Sub cmdSoundToPlay_Click()
- On Error GoTo Cancel_Error
- 'Get the sound file.
- CommonDialog1.CancelError = True
- CommonDialog1.Flags = cdlOFNHideReadOnly
- CommonDialog1.Filter = "Wav Files|*.wav"
- CommonDialog1.ShowOpen
- txtSoundToPlay.Text = CommonDialog1.filename
- Cancel_Error:
- End Sub
- Private Sub Command1_Click()
- On Error GoTo Cancel_Error
- 'Get the colour.
- CommonDialog1.CancelError = True
- CommonDialog1.ShowColor
- txtBackColour.Text = "&H00" & Trim(Hex$(CommonDialog1.Color)) & "&"
- Cancel_Error:
- End Sub
- Private Sub Command2_Click()
- On Error GoTo Cancel_Error
- 'Get the colour.
- CommonDialog1.CancelError = True
- CommonDialog1.ShowColor
- txtBarStartColour.Text = "&H00" & Trim(Hex$(CommonDialog1.Color)) & "&"
- Cancel_Error:
- End Sub
- Private Sub Command3_Click()
- On Error GoTo Cancel_Error
- 'Get the colour.
- CommonDialog1.CancelError = True
- CommonDialog1.ShowColor
- txtFontColour.Text = "&H00" & Trim(Hex$(CommonDialog1.Color)) & "&"
- Cancel_Error:
- End Sub
- Private Sub Command4_Click()
- On Error GoTo Cancel_Error
- 'Get the colour.
- CommonDialog1.CancelError = True
- CommonDialog1.ShowColor
- txtBarEndColour.Text = "&H00" & Trim(Hex$(CommonDialog1.Color)) & "&"
- Cancel_Error:
- End Sub
- Private Sub txtBackColour_Change()
- ProgBar1.BackColour = Val(txtBackColour.Text)
- ProgBar2.BackColour = Val(txtBackColour.Text)
- ProgBar3.BackColour = Val(txtBackColour.Text)
- ProgBar4.BackColour = Val(txtBackColour.Text)
- ProgBar5.BackColour = Val(txtBackColour.Text)
- ProgBar6.BackColour = Val(txtBackColour.Text)
- ProgBar7.BackColour = Val(txtBackColour.Text)
- ProgBar8.BackColour = Val(txtBackColour.Text)
- ProgBar9.BackColour = Val(txtBackColour.Text)
- ProgBar10.BackColour = Val(txtBackColour.Text)
- ProgBar11.BackColour = Val(txtBackColour.Text)
- ProgBar12.BackColour = Val(txtBackColour.Text)
- txtColour1.BackColor = Val(txtBackColour.Text)
- End Sub
- Private Sub txtBarEndColour_Change()
- ProgBar1.BarEndColour = Val(txtBarEndColour.Text)
- ProgBar2.BarEndColour = Val(txtBarEndColour.Text)
- ProgBar3.BarEndColour = Val(txtBarEndColour.Text)
- ProgBar4.BarEndColour = Val(txtBarEndColour.Text)
- ProgBar5.BarEndColour = Val(txtBarEndColour.Text)
- ProgBar6.BarEndColour = Val(txtBarEndColour.Text)
- ProgBar7.BarEndColour = Val(txtBarEndColour.Text)
- ProgBar8.BarEndColour = Val(txtBarEndColour.Text)
- ProgBar9.BarEndColour = Val(txtBarEndColour.Text)
- ProgBar10.BarEndColour = Val(txtBarEndColour.Text)
- ProgBar11.BarEndColour = Val(txtBarEndColour.Text)
- ProgBar12.BarEndColour = Val(txtBarEndColour.Text)
- txtColour3.BackColor = Val(txtBarEndColour.Text)
- End Sub
- Private Sub txtBarStartColour_Change()
- ProgBar1.BarStartColour = Val(txtBarStartColour.Text)
- ProgBar2.BarStartColour = Val(txtBarStartColour.Text)
- ProgBar3.BarStartColour = Val(txtBarStartColour.Text)
- ProgBar4.BarStartColour = Val(txtBarStartColour.Text)
- ProgBar5.BarStartColour = Val(txtBarStartColour.Text)
- ProgBar6.BarStartColour = Val(txtBarStartColour.Text)
- ProgBar7.BarStartColour = Val(txtBarStartColour.Text)
- ProgBar8.BarStartColour = Val(txtBarStartColour.Text)
- ProgBar9.BarStartColour = Val(txtBarStartColour.Text)
- ProgBar10.BarStartColour = Val(txtBarStartColour.Text)
- ProgBar11.BarStartColour = Val(txtBarStartColour.Text)
- ProgBar12.BarStartColour = Val(txtBarStartColour.Text)
- txtColour2.BackColor = Val(txtBarStartColour.Text)
- End Sub
- Private Sub txtFontColour_Change()
- ProgBar1.FontColour = Val(txtFontColour.Text)
- ProgBar2.FontColour = Val(txtFontColour.Text)
- ProgBar3.FontColour = Val(txtFontColour.Text)
- ProgBar4.FontColour = Val(txtFontColour.Text)
- ProgBar5.FontColour = Val(txtFontColour.Text)
- ProgBar6.FontColour = Val(txtFontColour.Text)
- ProgBar7.FontColour = Val(txtFontColour.Text)
- ProgBar8.FontColour = Val(txtFontColour.Text)
- ProgBar9.FontColour = Val(txtFontColour.Text)
- ProgBar10.FontColour = Val(txtFontColour.Text)
- ProgBar11.FontColour = Val(txtFontColour.Text)
- ProgBar12.FontColour = Val(txtFontColour.Text)
- txtColour4.BackColor = Val(txtFontColour.Text)
- End Sub
- Private Sub txtLowerLimit_Change()
- ProgBar1.Min = Val(txtLowerLimit.Text)
- ProgBar2.Min = Val(txtLowerLimit.Text)
- ProgBar3.Min = Val(txtLowerLimit.Text)
- ProgBar4.Min = Val(txtLowerLimit.Text)
- ProgBar5.Min = Val(txtLowerLimit.Text)
- ProgBar6.Min = Val(txtLowerLimit.Text)
- ProgBar7.Min = Val(txtLowerLimit.Text)
- ProgBar8.Min = Val(txtLowerLimit.Text)
- ProgBar9.Min = Val(txtLowerLimit.Text)
- ProgBar10.Min = Val(txtLowerLimit.Text)
- ProgBar11.Min = Val(txtLowerLimit.Text)
- ProgBar12.Min = Val(txtLowerLimit.Text)
- End Sub
- Private Sub txtMessage_Change()
- ProgBar1.Message = Trim(txtMessage.Text)
- ProgBar2.Message = Trim(txtMessage.Text)
- ProgBar3.Message = Trim(txtMessage.Text)
- ProgBar4.Message = Trim(txtMessage.Text)
- ProgBar5.Message = Trim(txtMessage.Text)
- ProgBar6.Message = Trim(txtMessage.Text)
- ProgBar7.Message = Trim(txtMessage.Text)
- ProgBar8.Message = Trim(txtMessage.Text)
- ProgBar9.Message = Trim(txtMessage.Text)
- ProgBar10.Message = Trim(txtMessage.Text)
- ProgBar11.Message = Trim(txtMessage.Text)
- ProgBar12.Message = Trim(txtMessage.Text)
- End Sub
- Private Sub txtSoundToPlay_Click()
- cmdSoundToPlay_Click
- cmdSoundToPlay.SetFocus
- End Sub
- Private Sub txtSoundToPlay_Change()
- ProgBar12.SoundToPlay = txtSoundToPlay.Text
- End Sub
- Private Sub txtUpperLimit_Change()
- ProgBar1.Max = Val(txtUpperLimit.Text)
- ProgBar2.Max = Val(txtUpperLimit.Text)
- ProgBar3.Max = Val(txtUpperLimit.Text)
- ProgBar4.Max = Val(txtUpperLimit.Text)
- ProgBar5.Max = Val(txtUpperLimit.Text)
- ProgBar6.Max = Val(txtUpperLimit.Text)
- ProgBar7.Max = Val(txtUpperLimit.Text)
- ProgBar8.Max = Val(txtUpperLimit.Text)
- ProgBar9.Max = Val(txtUpperLimit.Text)
- ProgBar10.Max = Val(txtUpperLimit.Text)
- ProgBar11.Max = Val(txtUpperLimit.Text)
- ProgBar12.Max = Val(txtUpperLimit.Text)
- End Sub
-